package com.hw.service;

import com.github.pagehelper.PageInfo;
import com.hw.pojo.HwCategory;
import com.hw.pojo.HwEntry;

import java.util.List;
import java.util.Map;

/**
 * @ClassName: DocumentService
 * @Description: 电子文档业务处理
 * @Author: vie0134
 * @Date: 2020-12-25 15:04
 * @Version: 1.0
 **/
public interface DocumentService {
    PageInfo<HwEntry> findAllArea(int pageNum, int pageSize, Map<String, Object> map);
    List<HwCategory> findListName();
    HwCategory findCategoryById(Integer id);
    List<HwEntry> findListEntry();
    boolean updateEntry(HwEntry hwEntry);
    boolean deleteEntry(Integer id);
    boolean insertEntry(HwEntry hwEntry);
    HwEntry findEntryById(Integer id);
}
